package cn.itsource.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.itsource.basic.basic.domain.Basedomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.context.annotation.Primary;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zcj
 * @since 2022-08-05
 */
@Data
@ToString
public class Shop extends Basedomain {

    private static final long serialVersionUID = 1L;

    @Excel(name = "店铺名字" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String name;
    @Excel(name = "联系电话" ,orderNum = "2", width = 30, isImportField = "true_st")
    private String tel;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
    @Excel(name = "创建时间", orderNum = "3", width = 30, isImportField = "true_st",exportFormat = "yyyy-MM-dd")
    private Date registerTime = new Date();
    /**
     * 状态：1表示待审核 2审核通过，待激活 3.激活成功 4表示驳回
     */
    @Excel(name = "状态" ,orderNum = "4", width = 30, isImportField = "true_st")
    private Integer state = 1;
    @Excel(name = "地址" ,orderNum = "5", width = 30, isImportField = "true_st")
    private String address;
    private String logo;
    private Long adminId;

    private Employee admin;
}
